import { list, add, del, thisTag, asideList, thisSort, update, article, aroundThis, mateList, commentList, addThumbsUp, addComment } from '../../controller/article/article'
export default async router => {
  router.post('/article/list', list)
  router.get('/article/getthistag', thisTag)
  router.get('/article/asidelist', asideList)
  router.get('/article/getthissort', thisSort)
  router.post('/article/add', add)
  router.post('/article/update', update)
  router.get('/article/del', del)
  router.get('/article/getArticle', article)
  router.get('/article/aroundthis', aroundThis)
  router.post('/article/getmatelist', mateList)
  router.post('/article/getommentlist', commentList)
  router.post('/article/addthumbsup', addThumbsUp)
  router.post('/article/addcomment', addComment)
}
